namespace XRM.Security.DataAccess.Context
{
    using System;
    using System.Data.Entity.Migrations;
    
    public partial class AddSystemUser : DbMigration
    {
        public override void Up()
        {
            AlterColumn("dbo.SystemUser", "FirstName", c => c.String(nullable: false, maxLength: 50, defaultValue: ""));
            AlterColumn("dbo.SystemUser", "LastName", c => c.String(nullable: false, maxLength: 50, defaultValue: ""));
            AlterColumn("dbo.SystemUser", "Post", c => c.String(nullable: false, maxLength: 500, defaultValue: ""));
        }
        
        public override void Down()
        {
            AlterColumn("dbo.SystemUser", "FirstName", c => c.String(nullable: false, maxLength: 50));
            AlterColumn("dbo.SystemUser", "LastName", c => c.String(nullable: false, maxLength: 50));
            AlterColumn("dbo.SystemUser", "Post", c => c.String(nullable: false, maxLength: 500));
        }
    }
}
